package com.ushine.web.base.model.redis;

import com.ushine.web.base.model.system.DataPermissionDO;
import com.ushine.web.base.model.system.UserDO;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Map;

/**
 * @Author: yls
 * @Date: 2022/02/21 16:16
 * @Description: 用户信息存放在redis的实体类
 * @Version 1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(description = "用户信息存放在redis的实体类")
public class UserRedisBO extends UserDO implements Serializable {

    /**
     * 数据权限
     */
    private Map<String, DataPermissionDO> dataPermissionMap;

}
